package com.ruoyi.repairUnit.service;

import java.util.List;

import com.ruoyi.project.domain.HouseProjectT;
import com.ruoyi.project.domain.HouseRepairCheckT;
import com.ruoyi.repairUnit.domain.HouseRepairUnitT;

/**
 * 户资金修改Service接口
 *
 * @author tyq
 * @date 2023-05-24
 */
public interface IHouseRepairUnitTService
{
    /**
     * 查询户资金修改
     *
     * @param doorId 户资金修改主键
     * @return 户资金修改
     */
    public HouseRepairUnitT selectHouseRepairUnitTByDoorId(Long doorId);

    /**
     * 查询户资金修改列表
     *
     * @param houseRepairUnitT 户资金修改
     * @return 户资金修改集合
     */
    public List<HouseRepairUnitT> selectHouseRepairUnitTList(HouseRepairUnitT houseRepairUnitT);

    public HouseRepairUnitT selectHouseRepairUnitSum(HouseRepairUnitT houseRepairUnitT);

    /**
     * 新增户资金修改
     *
     * @param houseRepairUnitT 户资金修改
     * @return 结果
     */
    public int insertHouseRepairUnitT(HouseRepairUnitT houseRepairUnitT);

    /**
     * 修改户资金修改
     *
     * @param houseRepairUnitVO,houseRepairCheckO 户资金修改
     * @return 结果
     */
    public int updateHouseRepairUnitT(HouseRepairUnitT houseRepairUnitVO, HouseRepairCheckT houseRepairCheckO,HouseProjectT houseProjectT);
    /**
     * 核算维修项目
     *
     * @param projectVO,repairListTemp 核算维修项目主键
     * @return 结果
     */
    public int updateProjectAndRepair(HouseProjectT projectVO, List<HouseRepairUnitT> repairListTemp);

    public HouseRepairUnitT selectHouseProjectTByProjectId(HouseRepairUnitT houseRepairUnitT);
    public HouseRepairUnitT getRepairDetail(HouseRepairUnitT houseRepairUnitT);


}
